package com.system.permissiondemo.param;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class DeptParam {

    private Integer id;
    @NotBlank
    @Length(max = 20,min = 2)
    private String name;
    private Integer parentId = 0;
    @NotBlank
    private Integer seq;
    @Length(max = 150)
    private String remark;
}
